{extend name="public:base" /}
{block name="head"}
<link href="__PUBLIC__/view_res/mobile/css/wshop_company_center.css" type="text/css" rel="Stylesheet" />
<style>
     a{color:#000;}
</style>
{/block} 

{block name="header"}
{include file="public/top-nav" /}
{/block}

{block name="content"}    
<style>   
table tr{

    position: relative;
    color: #444;
    padding-left: 50px;
    line-height: 40px;
    font-size: 14px;
    background: url(../images/icon_bar-right.png) 97.5% center no-repeat #fefefe;

}

table tr td:nth-child(1){
  text-align: right;
}
table tr td:nth-child(2){
  text-align: center;
}
</style>

<table width="100%" height="214" border="1" cellpadding="0" cellspacing="0" style="border-color: #fff;">
  <tr>
    <td width="38%" align="left">手机号码：</td>
    <td width="62%">{$agent['username']}</td>
  </tr>
  <tr>
    <td width="38%" align="left">实名信息：</td>
    <td width="62%">{$userinfo['idcardname']}</td>
  </tr>
  <tr>
    <td width="38%" align="left">身份证号码：</td>
    <td width="62%">{$userinfo['idcard']}</td>
  </tr>
  <tr>
    <td width="38%" align="left">代理状态：</td>
    <td width="62%">{$state}</td>
  </tr>
    
  {eq name='$agent.state' value='0'}
    <tr>
    <td width="38%" align="left">申请日期：</td>
    <td width="62%"><?php echo date('Y-m-d',$agent['create_time']); ?></td>
  </tr>
  <tr>
    <td width="38%" align="left">冻结元宝：</td>
    <td width="62%">{$agent.locking}</td>
  </tr>
  {/eq}

  <tr>
    <td width="38%" align="left">代理区域：</td>
    <td width="62%">{$agent['province']}{$agent['city']}{$agent['country']}</td>
  </tr>

    <tr>
    <td width="40%" align="left">区域身份证前6位：</td>
    <td width="55%">
        {volist name='agent_area' id='agent_area'}
        {$agent_area.id6}&nbsp;
        {/volist}
    </td>
  </tr>
<!--
    <tr>
    <td width="20%" align="right">代理点：</td>
    <td width="80%">{}</td>
  </tr>
-->
</table>

<!-- <div style="width: 100%; margin-top: 5px; margin-bottom: 45px;">
    <img src="__PUBLIC__/view_res/mobile/images/shezhi.png" alt="" width="10%" height="10%" style="float: left;">
    <strong style="font-size: 18px; display: block; float: left; line-height: 40px;">个人设置</strong>
</div> -->


<style>
.shezhi{
    color: #c12525;
    padding-left: 50px;
    line-height: 42px;
    font-size: 14px;
    border-top: 1px solid #eee;

}
.shezhi img{
    width: 50px;
    height: 50px;
    float: left;
    margin-top: 5px;
    margin-left: -50px;
}
</style>
{/block}